package com.lsl.endworkvol.entity;

import java.io.Serializable;
import java.util.Date;

public class Activity implements Serializable {
    private Integer id;
    private Integer leaderId;
    private String title;
    private String caption;
    private String position;
    private Date signUpStartTime;
    private Date signUpEndTime;
    private Date startTime;
    private Date endTime;
    private Integer volunteerCount;
    private Integer volunteerMaxCount;

    public Activity() {
    }

    public Activity(Integer id, Integer leaderId, String title, String caption, String address, Date signUpStartTime,
            Date signUpEndTime, Date startTime, Date endTime, Integer volunteerCount, Integer volunteerMaxCount) {
        this.id = id;
        this.leaderId = leaderId;
        this.title = title;
        this.caption = caption;
        this.position = address;
        this.signUpStartTime = signUpStartTime;
        this.signUpEndTime = signUpEndTime;
        this.startTime = startTime;
        this.endTime = endTime;
        this.volunteerCount = volunteerCount;
        this.volunteerMaxCount = volunteerMaxCount;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Integer leaderId) {
        this.leaderId = leaderId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String address) {
        this.position = address;
    }

    public Date getSignUpStartTime() {
        return signUpStartTime;
    }

    public void setSignUpStartTime(Date signUpStartTime) {
        this.signUpStartTime = signUpStartTime;
    }

    public Date getSignUpEndTime() {
        return signUpEndTime;
    }

    public void setSignUpEndTime(Date signUpEndTime) {
        this.signUpEndTime = signUpEndTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getVolunteerCount() {
        return volunteerCount;
    }

    public void setVolunteerCount(Integer volunteerCount) {
        this.volunteerCount = volunteerCount;
    }

    public Integer getVolunteerMaxCount() {
        return volunteerMaxCount;
    }

    public void setVolunteerMaxCount(Integer volunteerMaxCount) {
        this.volunteerMaxCount = volunteerMaxCount;
    }

    @Override
    public String toString() {
        return "Activity [id=" + id + ", leaderId=" + leaderId + ", title=" + title + ", caption=" + caption
                + ", address=" + position + ", signUpStartTime=" + signUpStartTime + ", signUpEndTime=" + signUpEndTime
                + ", startTime=" + startTime + ", endTime=" + endTime + ", volunteerCount=" + volunteerCount
                + ", volunteerMaxCount=" + volunteerMaxCount + "]";
    }

    

}
